unitDef = {
	unitname            = "stonegolem",
	name                = "Stone Golem",
	description         = "A powerful creature of rock and stone, conjured up by a powerful mage.",
	acceleration        = 0.3,
	brakerate           = 0.1,
	buildcostenergy     = 10,
	buildcostmetal      = 10,
	buildpic            = "stonegolem.png",
	buildtime           = 10,
	canattack           = true,
	canguard            = true,
	canmove             = true,
	canpatrol           = true,
	canstop             = true,
	category            = "land",
	corpse              = "dead",
	--[[
	collisionVolumeOffsets   = "0 0 0",
	collisionVolumeScales    = "16 53 12",
	collisionVolumeTest      = 1,
	collisionVolumeType      = "box",
	--]]
	footprintx          = 3,
	footprintz          = 3,
	icontype            = "default", 
	idleautoheal        = 0.1,
	idletime            = 1200,
	leavetracks         = true,
	mass                = 1000,
	maxdamage           = 1000,
	maxslope            = 36,
	maxvelocity         = .6,
	movementclass       = "construct",
	noselfdamage        = true,
	objectname          = "stonegolem.s3o",
	script              = "golem_anim.lua",
	
	sfxtypes            = {
		explosiongenerators = {
			"custom:NONE",
		},
	},
	
	sightdistance       = 500,
	turninplace         = 0,
	turnrate            = 800,
	upright             = true,
	
	weapons             = {
		{ def = "clobber", mainDir = "0 0 1", maxAngleDif = 160 },
	},
	
	weaponDefs          = {
	
		clobber = {
		name            = "Clobber",
		areaofeffect    = 70,
		avoidfriendly   = false,
		
		damage = {
			default     = 10,
			light       = 8,
			chain       = 5,
			structure   = 10,
		},
		
		explosionGenerator   = "custom:NONE",
		noexplode       = true,
		noselfdamage    = true,
		range           = 120,
		reloadtime      = 4,
		targetborder    = 1,
		thickness       = 10,
		tolerance       = 10000,
		turret          = true,
		weapontype      = "LaserCannon",
		weaponvelocity  = 500,
		},
	},
	
	featureDefs         = {
	
		dead = {
		blocking        = 0,
		damage          = 100,
		description     = "Dead Stone Golem",
		object          = "boulder.s3o", --fixme
		},
	},
}

return lowerkeys({ stonegolem = unitDef })
